export function showLoading(title = "加载中...", mask = true) {
	uni.showLoading({
		title,
		mask
	})
}

export function hideLoading(time = 500) {
	setTimeout(() => {
		uni.hideLoading();
	}, time)
}

export function showToast(title = "暂无数据", icon = "none", duration = 1500) {
	uni.showToast({
		title,
		icon,
		duration
	})
}
